package com.wakaca.design.pattern.creational.abstractfactory;

/**
 * Java 课程的产品族工厂类
 * Created by wakaca
 */
public class JavaCourseFactory implements CourseFactory {

    public Video getVideo() {
        return new JavaVideo();
    }

    public Article getArticle() {
        return new JavaArticle();
    }
}
